package week03.starbucks_ex;

public class Milk extends DrinkDecorator{
    private double price = 44;

    public Milk(IDrink drink) {
        super(drink);
    }

    public double getPrice() {
        double total=drink.getPrice()+price;
        System.out.println("AddMilk:"+total);
        return total;
    }

}
